<script setup name="Icon">
import { Icon } from '@iconify/vue'
const props = defineProps({
  icon: {
    type: String,
    require: true
  },
  size: {
    type: Number,
    default: 14
  }
})
</script>

<template>
  <Icon :icon="props.icon" :size="props.size" v-bind="$attrs" :style="{'fontSize':`${props.size}px`}"/>
</template>

<style lang="scss" scoped>
</style>